package com.winhxd.b2c.common.domain.search.dto;

import java.util.List;

/**
 * 搜索结果
 *
 * @param <T>
 */
public class SearchResult<T> {
    /**
     * 查询到的数据
     */
    private List<T> hits;

    public SearchResult() {
    }

    public SearchResult(List<T> hits) {
        this.hits = hits;
    }

    public List<T> getHits() {
        return hits;
    }

    public void setHits(List<T> hits) {
        this.hits = hits;
    }
}
